import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {SocSignComponent} from './soc-sign.component';

const routes: Routes = [
    {path: '', component: SocSignComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-soc-sign/add-soc-sign.module#AddSocSignModule'},
            {path: 'list', loadChildren: './list-soc-sign/list-soc-sign.module#ListSocSignModule'},
            {path: 'modify', loadChildren: './modify-soc-sign/modify-soc-sign.module#ModifySocSignModule'},
            {path: 'report', loadChildren: './report-soc-sign/report-soc-sign.module#ReportSocSignModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class SocSignRoutingModule {
}
